package com.joplus.housekeeper.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * author： ccm
 * time： 2017/7/4.
 * description：
 */

public  class OrderRefund implements Parcelable {
    private String refundMoney;
    private String refundFeedbackDatetime;
    private String refundReason;

    public String getRefundMoney() {
        return refundMoney;
    }

    public void setRefundMoney(String refundMoney) {
        this.refundMoney = refundMoney;
    }

    public String getRefundFeedbackDatetime() {
        return refundFeedbackDatetime;
    }

    public void setRefundFeedbackDatetime(String refundFeedbackDatetime) {
        this.refundFeedbackDatetime = refundFeedbackDatetime;
    }

    public String getRefundReason() {
        return refundReason;
    }

    public void setRefundReason(String refundReason) {
        this.refundReason = refundReason;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.refundMoney);
        dest.writeString(this.refundFeedbackDatetime);
        dest.writeString(this.refundReason);
    }

    public OrderRefund() {
    }

    protected OrderRefund(Parcel in) {
        this.refundMoney = in.readString();
        this.refundFeedbackDatetime = in.readString();
        this.refundReason = in.readString();
    }

    public static final Creator<OrderRefund> CREATOR = new Creator<OrderRefund>() {
        @Override
        public OrderRefund createFromParcel(Parcel source) {
            return new OrderRefund(source);
        }

        @Override
        public OrderRefund[] newArray(int size) {
            return new OrderRefund[size];
        }
    };
}
